/*
* 诊断改进 模块路由
* */
const layout = () => import("@/views/layout");
// 诊改监控
const level = () => import("@/views/domsImprove/monitor/monitor");
const levelList = () => import("@/views/domsImprove/monitor/monitorList");
// 诊改分析
const analysis = () => import("@/views/domsImprove/analysis/analysis");
const analysisReport = () => import("@/views/domsImprove/analysis/analysisReport");
// 我的诊改
const myDom = () => import("@/views/domsImprove/myDom/myDom");
const myList = () => import("@/views/domsImprove/myDom/myDomList");

export default {
    path: '/improve',
    component: layout,
    name: 'improveIndex',
    meta:{
        title:'诊断改进',
        auth: true,
        id: ''
    },
    children: [
        {
            path: 'monitor',
            component: layout,
            name: 'monitor',
            meta:{
                title:'诊改监控',
                auth: true,
                id: ''
            },
            children: [
                {
                    path: 'Level/:type',
                    component: level,
                    name: 'Level',
                    meta:{
                        title:'学校层',
                        auth: true,
                        id: ''
                    }
                },
                {
                    path: 'levelList/:type',
                    component: levelList,
                    name: 'levelList',
                    meta:{
                        title:'学校层',
                        auth: true,
                        id: ''
                    }
                }
            ]
        },
        {
            path: 'analysis',
            component: layout,
            name: 'analysis',
            meta:{
                title:'诊改分析',
                auth: true,
                id: ''
            },
            children: [
                {
                    path: 'Level/:type',
                    component: analysis,
                    name: 'analysisLevel',
                    meta:{
                        title:'学校层',
                        auth: true,
                        id: ''
                    }
                },
                {
                    path: 'analysisReport/:type',
                    component: analysisReport,
                    name: 'analysisReport',
                    meta:{
                        title:'学校层',
                        auth: true,
                        id: ''
                    }
                }
            ]
        },
        {
            path: 'my',
            component: layout,
            name: 'my',
            meta:{
                title:'我的诊改',
                auth: true,
                id: ''
            },
            children: [
                {
                    path: 'Level/:type',
                    component: myDom,
                    name: 'myDomLevel',
                    meta:{
                        title:'学校层',
                        auth: true,
                        id: ''
                    }
                },
                {
                    path: 'levelList/:type',
                    component: myList,
                    name: 'myDomList',
                    meta:{
                        title:'学校层',
                        auth: true,
                        id: ''
                    }
                }
            ]
        }
    ]
}
